<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<script src="Grid/GridE.js"> </script>                    <!-- including TreeGrid script -->
<body>
<input type="button" onclick="Create()" value="show xml Data">
<input type="button" onclick="Create1()" value="show struts xml result">
<input type="button" onclick="Create2()" value="show my xml result Data">
	<div id="Main" style="width:100%;">
	</div>
		
	<a href="DemoAction?arg=download" >demo action</a>
	
</body>
<script type="text/javascript">

function clearDefault(arg){
	//alert("clear");
	arg.value = "";
}
function Create(){
	TreeGrid({ Data:{ Url:"MyData.xml" } ,Layout:{Url:"MyDef.xml"}},"Main" ); 
}
function Create1(){
	TreeGrid({ Data:{ Url:"DemoAction?arg=download" } ,Layout:{Url:"MyDef.xml"}},"Main" ); 
}
function Create2(){
	TreeGrid({ Data:{ Url:"testResponse" } ,Layout:{Url:"MyDef.xml"}},"Main" ); 
}


</script>
</html>